<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>bootstrap 初体验</title>
    <link
      href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
      rel="stylesheet"
    />
    <style>
      .bg p{
        padding: 15px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <h2>文字颜色</h2>
      <div class="bs-example" data-example-id="contextual-colors-helpers">
        <p class="text-muted">
          Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
        </p>
        <p class="text-primary">
          Nullam id dolor id nibh ultricies vehicula ut id elit.
        </p>
        <p class="text-success">
          Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
        </p>
        <p class="text-info">
          Maecenas sed diam eget risus varius blandit sit amet non magna.
        </p>
        <p class="text-warning">
          Etiam porta sem malesuada magna mollis euismod.
        </p>
        <p class="text-danger">
          Donec ullamcorper nulla non metus auctor fringilla.
        </p>
      </div>

      <h2>背景颜色</h2>
      <div
        class="bs-example bs-example-bg-classes bg"
        data-example-id="contextual-backgrounds-helpers"
      >
        <p class="bg-primary">
          Nullam id dolor id nibh ultricies vehicula ut id elit.
        </p>
        <p class="bg-success">
          Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
        </p>
        <p class="bg-info">
          Maecenas sed diam eget risus varius blandit sit amet non magna.
        </p>
        <p class="bg-warning">
          Etiam porta sem malesuada magna mollis euismod.
        </p>
        <p class="bg-danger">
          Donec ullamcorper nulla non metus auctor fringilla.
        </p>
      </div>

      <h2>小'图片'</h2>
      <button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      <span class="caret"></span>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/holder/2.9.8/holder.min.js"></script>
  </body>
</html>
